package meta

type ByCreatedTime []FileMeta

func (a ByCreatedTime) Len() int {
	return len(a)
}

func (a ByCreatedTime) Swap(i,j int) {
	a[i], a[j] = a[j], a[i]
}

func (a ByCreatedTime) Less(i,j int) bool {
	return a[i].CreatedAt > a[j].CreatedAt
}
